<form class="layui-form layui-card" action="{:url('bean')}" data-auto="true" method="post" autocomplete="off">

    <div class="layui-card-body padding-left-40">

        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">发布一条兼职消耗几个发布豆</span>
                <input name="need_bean" required placeholder="请输入所需要豆发布豆" value="{$result.need_bean|default="0"}" class="layui-input">
            </label>
            <p class="help-block">发布一条兼职 需消耗{$result.need_bean|default="0"}个发布豆 </p>
        </div>

        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">一条兼职基础人数值</span>
                <input name="base_people" required placeholder="增加发布豆以几个人为基准" value="{$result.base_people|default='0'}" class="layui-input">
            </label>
            <p class="help-block"> 增加发布豆以 {$result.base_people|default="0"}个人为基准</p>
        </div>



        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">每增加一名招聘人员需要几个发布豆</span>
                <input name="add_bean" required placeholder="请输入每加一人所需要豆发布豆" value="{$result.add_bean|default='0'}" class="layui-input">
            </label>
            <p class="help-block">每增加一名招聘人员 需要{$result.add_bean|default="0"}个发布豆 </p>
        </div>

        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">兼职置顶消耗发布豆</span>
                <input name="job_top" required placeholder="请输入每置顶一条兼职所需要豆发布豆" value="{$result.job_top|default='0'}" class="layui-input">
            </label>
            <p class="help-block">每置顶一条兼职 需要{$result.job_top|default="0"}个发布豆 </p>
        </div>

    </div>

    <div class="hr-line-dashed"></div>
    <input type='hidden' value='{$aid}' name='aid'>
    <input type='hidden' value='{$id}' name='id'>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>

</form>
